﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using ZhongJia.Core.Consts;

namespace GuanQL.Core.Domain.Accounts
{
    public class Tenant : BaseEntity
    {
        [MaxLength(Validations.GeneralShortestLength)]
        public string Name { get; set; }

        [MaxLength(Validations.GeneralShortestLength)]
        public string OrgName { get; set; }

        [MaxLength(Validations.ContentLength)]
        public string Description { get; set; }

        [MaxLength(Validations.GeneralShortestLength)]
        public string SMSSignName { get; set; }

        [MaxLength(Validations.GeneralLength)]
        public string Host { get; set; }
    }
}
